RemoteActionCompat
Represents a remote action that can be called from another process. The action can have an associated visualization including metadata like an icon or title.
This is a backward-compatible version of RemoteAction.
Constructors
Link copied to clipboard
constructor(@NonNull icon: @NonNull IconCompat, @NonNull title: @NonNull CharSequence, @NonNull contentDescription: @NonNull CharSequence, @NonNull intent: @NonNull PendingIntent)
Used for VersionedParcelable.
Constructs a RemoteActionCompat using data from
other
.Properties
Functions
Link copied to clipboard
@NonNull
Creates an RemoteActionCompat from a RemoteAction.
Link copied to clipboard
Return the action intent.
Link copied to clipboard
Return a content description representing the action.
Link copied to clipboard
Return an icon representing the action.
Link copied to clipboard
Return an title representing the action.
Link copied to clipboard
Sets whether this action is enabled.
Link copied to clipboard
Sets whether the icon should be shown.
Link copied to clipboard
Return whether the icon should be shown.
Link copied to clipboard
Convert this compat object to RemoteAction object.